package com.casicloud.manage.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.casicloud.manage.mapper.UserRoleMapper;
import com.casicloud.manage.model.UserRole;
import com.casicloud.manage.service.UserRoleService;
@Service
public class UserRoleServiceImpl implements UserRoleService {
	@Autowired
	private UserRoleMapper  userRoleMapper;

	@Override
	public List<UserRole> findByList(UserRole userRole) {
		// TODO Auto-generated method stub
		return userRoleMapper.findByList(userRole);
	}

	@Override
	public List<UserRole> findRoleByList(UserRole ur) {
		return userRoleMapper.findRoleByList(ur);
	}

}
